package com.ms.constant;

/**
 * 缓存常量
 */
public class CacheConstant {
    // 音乐缓存前缀
    public static final String MUSIC_BY_ID = "music_id";
    public static final String MUSIC_LIST_BY_GENRE = "music_list_genre";
    public static final String MUSIC_LIST_BY_USER = "music_list_user";
    public static final String MUSIC_PAGE = "music_page";

    // 专辑缓存前缀
    public static final String ALBUM_BY_ID = "album_id";
    public static final String ALBUM_LIST_BY_USER = "album_list_user";
    public static final String ALBUM_PAGE = "album_page";
    public static final String ALBUM_PAGE_BY_USER = "album_page_user";
    public static final String MUSIC_LIST_BY_ALBUM = "music_list_album";
    public static final String MUSIC_PAGE_BY_ALBUM = "music_page_album";

    // 曲风缓存前缀
    public static final String GENRE_BY_ID = "genre_id";
    public static final String GENRES_BY_PARENT = "genres_parent";
    public static final String ALL_GENRES = "all_genres";
    public static final String GENRES_BY_TYPE = "genres_type";
    public static final String SEARCH_GENRES = "search_genres";
    public static final String SEARCH_GENRES_PAGE = "search_genres_page";
    public static final String GENRES_BY_MUSIC = "genres_music";

    // 用户缓存前缀
    public static final String USER_BY_ID = "user_id";
    public static final String USER_BY_NICKNAME = "user_nickname";
    public static final String ALL_USERS = "all_users";

    // 关注缓存前缀
    public static final String FOLLOWING_LIST = "following_list";
    public static final String FOLLOWERS_LIST = "followers_list";
    public static final String USER_STATS = "user_stats";
    public static final String IS_FOLLOWING = "is_following";
}
